Release 10.1A: OpenEdge Development:
Progress 4GL Reference
SET-BYTE-ORDER statement
Sets an internal indicator designating the byte-order of the data pointed to by the MEMPTR variable.
Note: Does not apply to SpeedScript programming.Syntax
memptrAn expression that returns a MEMPTR.
integer-expressionAn expression that returns an integer value that will be used to indicate the byte-ordering of the data in the memory to which the MEMPTR points.
integer-expressionmust be one of the reserved keywords defined in Table 47 or its corresponding value. Ifinteger-expressionis not valid, Progress generates an error.
Notes
- The byte order for a MEMPTR is HOST-BYTE-ORDER by default, that is, if SET-BYTE-ORDER has not been called for a given MEMPTR, its byte order is HOST-BYTE-ORDER.
- SET-BYTE-ORDER by itself never affects data currently in the MEMPTR, that is, it does not actually re-order the data. It only affects how subsequent calls to the PUT- statements and GET- functions work with that MEMPTR variable.
See also
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |